Fix SS_ONSTACK support
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 29 Dec 2018 10:04:27 +0000 (10:04 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sat, 29 Dec 2018 10:04:27 +0000 (10:04 +0000)
commit9f12792321cffb7e75177b626da10c6b73707036
tree8c7dba2a04bf669c121f58ecb88610ca8116d488
parentc0e2b38a4b0f9cca467e6554d5d12279c897f48f
Fix SS_ONSTACK support

* sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
unlocks SS and returns to the saved PC.
(__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
thread stack instead of the saved PC.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-ONSTACK.diff
sysdeps/mach/hurd/i386/sigreturn.c